package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author min
 * @since 2022-09-09
 */
@TableName("role_admin")
@Data
public class RoleAdmin implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long adminId;

    private Long roleId;

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "RoleAdmin{" +
        "adminId = " + adminId +
        ", roleId = " + roleId +
        "}";
    }
}
